﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PFMKernels
{
    class PFMSpecifiedTask:PFMTask 
    {
        public override bool Execute(PFMConfigurations.Schedule aSchedule, PFMConfigurations.Target aTarget)
        {
            bool result= base.Execute(aSchedule, aTarget);
            try
            {
                this.o_Handlers = base.CreateHandlersFromTarget(aTarget);
                this.ApplyHandlersToTarget(aTarget, this.o_Handlers);
            }
            catch { result = false; }
            return result;
            
        }
    }
}
